WPPayForm\App\Modules\PaymentMethods\Stripe\Stripe B

Total Complexity 79
Dependencies 7
Dependents 15
Total lines 495
Lines of code 388
Logical lines of code 159
Comment lines 17
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
savePaymentSettings()
A
43 9 49
addAddressToView()
S
50 5 34
getSecretKey()
S
57 6 17
getPubKey()
S
57 6 17
getMode()
S
62 6 10
mapper()
S
60 5 14
addTransactionUrl()
S
60 5 13
choosePaymentMethod()
S
63 5 11
maybeSignupFeeToPaymentItems()
S
53 4 23
formatAddress()
S
55 4 21
mapSettings()
S
42 1 65
maybeDecryptKeys()
S
58 4 15
pushAddressToInput()
S
62 3 11
getStripeSettings()
S
56 2 19
getStripePaymentMethodByElement()
S
64 3 10
isStripeKeysDefined()
S
79 2 3
registerHooks()
S
57 1 15
encryptKeys()
S
70 1 6
getPaymentSettings()
S
69 1 7
makeSubscriptionSync()
S
79 1 3
getDynamicStripeSettings()
S
76 1 4
routePaymentHandler()
S
70 1 5
addPaymentMethodStyle()
S
72 1 5
addLocalizeVars()
S
66 1 8
cancelSubscription()
S
78 1 3